package com.example.crm_system.service;

import com.example.crm_system.entity.Params;
import com.example.crm_system.entity.WorkOrder;
import com.github.pagehelper.PageInfo;

public interface WorkOrderService {

    void insert(WorkOrder workOrder);

    void complete(Integer ono);

    void cancel(Integer ono);

    PageInfo<WorkOrder> searchWorkOrder(Params params);

    void delete(Integer ono);

    void update(WorkOrder workOrder);
}
